# -*- coding: utf-8 -*-
from flask_wtf import Form
from wtforms import StringField, SubmitField
from wtforms.validators import DataRequired


class UserForm(Form):
    xm = StringField(
        label="姓名",
        validators=[DataRequired(), ]
    )
    nl = StringField(
        label="年龄",
        validators=[DataRequired(), ]
    )
    xb = StringField(
        label="性别",
        validators=[DataRequired(), ]
    )
    lxdh = StringField(
        label="联系电话",
        validators=[DataRequired(), ]
    )
    submit = SubmitField(
        label="提交"
    )